#ifndef CREATETOOL_H
#define CREATETOOL_H

#include "Tool.h"

namespace Editor {
    
class CreateTool : public Tool
{
Q_OBJECT

public:
    CreateTool(Editor::EditWidget* widget);
    
    void leftButtonPressed();
    void leftButtonReleased();
    
    void rightButtonPressed();
    void rightButtonReleased();
    
    void keyPressEvent(QKeyEvent* e);
    
protected:
    void setCurrentVertex(Editor::VertexItem* item);
    
private:
    Editor::VertexItem* currentVertex;
    Editor::EditWidget* widget;
};

}

#endif // CREATETOOL_H
